package de.gameduell.framework.gui.wrapper {
	import flash.display.InteractiveObject;
	
	import de.gameduell.framework.gui.wrapper.DisplayObjectWrapper;	

	/**
	 * @author cbra
	 */
	public class InteractiveObjectWrapper extends DisplayObjectWrapper {
		protected var _interactiveObject:InteractiveObject;
		
		public function InteractiveObjectWrapper(aInteractiveObject:InteractiveObject) {
			super(aInteractiveObject);
			_interactiveObject = aInteractiveObject;
		}
		
		public function set mouseEnabled(aMouseEnabled:Boolean):void{
			_interactiveObject.mouseEnabled = aMouseEnabled;
		}
		
		public function get mouseEnabled():Boolean{
			return _interactiveObject.mouseEnabled;
		}
		
		public function set doubleClickEnabled(aDoubleClickEnabled:Boolean):void{
			_interactiveObject.doubleClickEnabled = aDoubleClickEnabled;
		}
	}
}
